package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

public interface AdSensitiveService extends IService<AdSensitive> {
    /**
     * 分词模糊查询敏感词
     */
    ResponseResult findSensitiveList(SensitiveDto sensitiveDto);

    /**
     * 敏感词删除
     */
    ResponseResult deleteSensitive(Integer id);

    /**
     * 新增敏感词
     */
    ResponseResult addSensitive(AdSensitive adSensitive);

    /**
     * 修改敏感词
     */
    ResponseResult updateSensitive(AdSensitive adSensitive);
}
